package com.itheima.service;

import com.itheima.dao.impl.StudentDaoImpl;
import com.itheima.domain.Student;

import java.util.ArrayList;

public interface StudentService {
    StudentDaoImpl studentDao = new StudentDaoImpl();
    void addStudent(Student student);
    void delectStudent(int index);
    void updateStudent(int index , Student student);
    ArrayList<Student> findAllStudent();
    int findStudentById(String id);
}
